package com.zjhn.ds.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * TODO 类作用描述
 *
 * @author sxt
 * @date 2024/8/15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MachineChangeFinishParam {

    @ApiModelProperty("改机id")
    @NotBlank(message = "改机id不能为空")
    private String machineChangeId;

    @ApiModelProperty("单只耗时")
    @NotNull(message = "单只耗时不能为空")
    private BigDecimal singleCost;
}
